#ifndef OPERATORDIALOG_H
#define OPERATORDIALOG_H

#include <QDialog>

namespace Ui {
class OperatorDialog;
}

class OperatorDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit OperatorDialog(QWidget *parent = 0);
    ~OperatorDialog();

    void accept();

    QString getName() const;
    QString getNote() const;
    int getDepartmentId() const;
    QString getDepartment() const;

    void setOperator(const int operator_id);
    void setDepartment(const int department_id);
    
private:
    void loadData();

    Ui::OperatorDialog *ui;
};

#endif // OPERATORDIALOG_H
